tools/xenstore: Re-introduce (fake) xs_restrict call to preserve ABI
authorStefan Bader <stefan.bader@canonical.com>
Tue, 4 Feb 2020 09:34:23 +0000 (09:34 +0000)
committerWei Liu <wl@xen.org>
Tue, 4 Feb 2020 11:31:07 +0000 (11:31 +0000)
commit960dd83213d8798e939f1805c8a29d0086fedb5d
tree5cca2f8b6d6429be48609d0c3bf12ad7052e8c18
parent048d4272ff7414993f3d534149c106d907c271c5
tools/xenstore: Re-introduce (fake) xs_restrict call to preserve ABI

libxenstore3.0 in Xen 4.8 had this function.  We don't really want to
bump the ABI version (soname) just for this, since we don't think
there are actual callers anywhere.  But tools complain about the
symbol going away.

So, provide a function xs_restrict which conforms to the original
semantics, although it always fails.

Gbp-Pq: Topic xenstore
Gbp-Pq: Name tools-fake-xs-restrict.patch
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/xenstore/include/xenstore.h
tools/xenstore/xs.c